package org.bigjava.biz;

import org.bigjava.bean.User;

import java.util.List;

public interface UserService {

    //业主账号校验
    public User userJiaoYan(String username);
    //业主账号和姓名模糊查询
    public List<User> userMoHu(String username,String realname);
    //修改业主信息
    public int userXiuGai(User user);
    //查业主信息
    public User userId(int id);
    //业主删除
    public void userShanChu(int id);
    //业主总人数
    public int userZong();
    //业主分页查询
    public List<User> userFenYe(int offset,int length);
    //业主账号密码登录
    public User userDengLu(String username,String password);
    //全部业主
    public List<User> userQuan();
    //增加业主
    public int userAdd(User user);
}
